package zp_resume_v1

import "context"
import "github.com/gogf/gf/v2/encoding/gjson"
import "github.com/gogf/gf/v2/frame/g"/*
s.Group("/", func(group *ghttp.RouterGroup) {
	group.Group("/", func(group *ghttp.RouterGroup) {
		group.Bind(controller.ZpResumeV1Controller)
	})
})
*/
var ZpResumeV1Controller = cZpResumeV1Controller{}
type cZpResumeV1Controller struct{}
type GetResumeListReq struct {
	g.Meta `path:"zp_resume_v1/getResumeList" method:"POST" summary:""`
	WelfareId string `json:"welfare_id" dc:""`
	PositionId2 string `json:"position_id2" dc:""`
	NeqId string `json:"neqId" dc:""`
	Page string `json:"page" dc:"1"`
	Gender string `json:"gender" dc:"2"`
	AreasId string `json:"areas_id" dc:""`
	IsIndex string `json:"is_index" dc:""`
	SelectName string `json:"select_name" dc:""`
	PositionId string `json:"position_id" dc:""`
	Any string `json:"any" dc:"zp_resume_v1/getResumeList"`
	MemberId string `json:"member_id" dc:""`
	Secondary string `json:"secondary" dc:""`
	RefreshTime string `json:"refresh_time" dc:""`
	AgeId string `json:"age_id" dc:""`
	DrvingId string `json:"drving_id" dc:""`
	Date string `json:"date" dc:""`
	AreasPid string `json:"areas_pid" dc:""`
	Pages string `json:"pages" dc:""`
	SalaryId string `json:"salary_id" dc:""`
}
type ZpResumeV1Drving struct {
Title	string	`json:"title"`
}

type ZpResumeV1Areas struct {
Title	string	`json:"title"`
}

type ZpResumeV1Age struct {
Title	string	`json:"title"`
}

type ZpResumeV1Data struct {
Salary	string	`json:"salary"`
Types	[]string	`json:"types"`
Id	float64	`json:"id"`
MemberId	float64	`json:"member_id"`
Head	string	`json:"head"`
Date	float64	`json:"date"`
Drving	ZpResumeV1Drving	`json:"drving"`
Label	string	`json:"label"`
Name	string	`json:"name"`
StateTime	float64	`json:"state_time"`
Refresh	string	`json:"refresh"`
Areas	ZpResumeV1Areas	`json:"areas"`
Age	ZpResumeV1Age	`json:"age"`
}

type GetResumeListRes struct {
Total	float64	`json:"total"`
PerPage	float64	`json:"per_page"`
CurrentPage	float64	`json:"current_page"`
LastPage	float64	`json:"last_page"`
Data	[]ZpResumeV1Data	`json:"data"`
}

func (a *cZpResumeV1Controller) GetResumeListAction(ctx context.Context, req *GetResumeListReq) (res *GetResumeListRes, err error) {
	res = &GetResumeListRes{}
	data:=`{"current_page":1,"data":[{"age":{"title":"1年以内"},"areas":{"title":"鱼台城区"},"date":39,"drving":{"title":"高中"},"head":"https://mp.wanhedashuju.com/uploads/20220107/fb6ee8d16be91c959a9b1f0bb1397309.png","id":7817,"label":"今日活跃","member_id":7816,"name":"贾燕","refresh":"6分钟前","salary":"2000-3000/月","state_time":1663115446,"types":["产品包装设计"]},{"age":{"title":"1-2年"},"areas":{"title":"鱼台城区"},"date":20,"drving":{"title":"中专"},"head":"https://mp.wanhedashuju.com/uploads/20220107/7c24a86003a6393360884ab6b4a8383b.png","id":15525,"label":"今日活跃","member_id":15559,"name":"宋双","refresh":"7分钟前","salary":"面议","state_time":1712217968,"types":["前台接待/礼仪"]},{"age":{"title":"1-2年"},"areas":{"title":"鱼台城区"},"date":20,"drving":{"title":"大专"},"head":"https://mp.wanhedashuju.com/uploads/20220107/f1399752d14aed9b423e90289438241c.png","id":4791,"label":"今日活跃","member_id":4791,"name":"杨曾","refresh":"9分钟前","salary":"面议","state_time":1647345201,"types":["服务员/传菜生","前台接待/礼仪","保洁/清洁/搬运"]},{"age":{"title":"3-5年"},"areas":{"title":"鱼台城区"},"date":26,"drving":{"title":"本科"},"head":"https://mp.wanhedashuju.com/uploads/202410/16/cb68694e7a7a23bb88d18e5951a47f1e.png","id":17022,"label":"今日活跃","member_id":17056,"name":"毛李敏","refresh":"13分钟前","salary":"3000-4000/月","state_time":1729083480,"types":["会计"]},{"age":{"title":"1年以内"},"areas":{"title":"鱼台城区"},"date":18,"drving":{"title":"高中"},"head":"https://mp.wanhedashuju.com/uploads/20220107/b1d643fb53b86c78dfbb876b46df900a.png","id":13746,"label":"今日活跃","member_id":13746,"name":"田慧莹","refresh":"15分钟前","salary":"面议","state_time":1718091291,"types":["服务员/传菜生"]},{"age":{"title":"3-5年"},"areas":{"title":"鱼台城区"},"date":25,"drving":{"title":"大专"},"head":"https://mp.wanhedashuju.com/uploads/20220107/1452cfbc6585c1d17483a2d17a327cff.png","id":3362,"label":"今日活跃","member_id":3362,"name":"幕言","refresh":"19分钟前","salary":"5000-15000/月","state_time":1645174465,"types":["电商运营"]},{"age":{"title":"1-2年"},"areas":{"title":"任城城区"},"date":22,"drving":{"title":"大专"},"head":"https://mp.wanhedashuju.com/uploads/202409/21/5ee10887a09ce00b303fa88e71484683.png","id":16880,"label":"今日活跃","member_id":16914,"name":"李黎","refresh":"20分钟前","salary":"面议","state_time":1726913997,"types":["装修"]},{"age":{"title":"1-2年"},"areas":{"title":"鱼台城区"},"date":24,"drving":{"title":"大专"},"head":"https://mp.wanhedashuju.com/uploads/20220107/7c24a86003a6393360884ab6b4a8383b.png","id":15313,"label":"今日活跃","member_id":15347,"name":"汤圆","refresh":"25分钟前","salary":"面议","state_time":1710167787,"types":["话务员","客户咨询"]},{"age":{"title":"1-2年"},"areas":{"title":"鱼台城区"},"date":41,"drving":{"title":"高中"},"head":"https://mp.wanhedashuju.com/uploads/20220107/b1d643fb53b86c78dfbb876b46df900a.png","id":13854,"label":"今日活跃","member_id":13854,"name":"刘会计","refresh":"34分钟前","salary":"面议","state_time":null,"types":["会计"]},{"age":{"title":"10年以上"},"areas":{"title":"鱼台城区"},"date":35,"drving":{"title":"大专"},"head":"https://mp.wanhedashuju.com/uploads/20220107/f1399752d14aed9b423e90289438241c.png","id":14347,"label":"今日活跃","member_id":14347,"name":"马千里","refresh":"36分钟前","salary":"面议","state_time":null,"types":["叉车工"]}],"last_page":685,"per_page":10,"total":6844}`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type GetResumeEducateListReq struct {
	g.Meta `path:"zp_resume_v1/getResumeEducateList" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_resume_v1/getResumeEducateList"`
	ResumeId string `json:"resume_id" dc:"15347"`
}
type GetResumeEducateListRes struct {
}

func (a *cZpResumeV1Controller) GetResumeEducateListAction(ctx context.Context, req *GetResumeEducateListReq) (res *GetResumeEducateListRes, err error) {
	res = &GetResumeEducateListRes{}
	data:=`[]`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type GetResumeExperienceListReq struct {
	g.Meta `path:"zp_resume_v1/getResumeExperienceList" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_resume_v1/getResumeExperienceList"`
	ResumeId string `json:"resume_id" dc:"15347"`
}
type GetResumeExperienceListRes struct {
}

func (a *cZpResumeV1Controller) GetResumeExperienceListAction(ctx context.Context, req *GetResumeExperienceListReq) (res *GetResumeExperienceListRes, err error) {
	res = &GetResumeExperienceListRes{}
	data:=`[]`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type GetResumeInfoReq struct {
	g.Meta `path:"zp_resume_v1/getResumeInfo" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_resume_v1/getResumeInfo"`
	ResumeId string `json:"resume_id" dc:"15347"`
}
type GetResumeInfoRes struct {
MemberId	float64	`json:"member_id"`
Gender	string	`json:"gender"`
Age	string	`json:"age"`
AreasId	string	`json:"areas_id"`
IsClosure	string	`json:"is_closure"`
DefDetail	string	`json:"def_detail"`
Salary	string	`json:"salary"`
Date	float64	`json:"date"`
Drving	string	`json:"drving"`
IsHide	string	`json:"is_hide"`
Collect	float64	`json:"collect"`
Id	float64	`json:"id"`
Name	string	`json:"name"`
Txt	string	`json:"txt"`
TypeIds	[]string	`json:"type_ids"`
Type	string	`json:"type"`
IsSingle	string	`json:"is_single"`
Uid	string	`json:"uid"`
Head	string	`json:"head"`
AreasPid	string	`json:"areas_pid"`
IsDef	string	`json:"is_def"`
WorkState	string	`json:"work_state"`
}

func (a *cZpResumeV1Controller) GetResumeInfoAction(ctx context.Context, req *GetResumeInfoReq) (res *GetResumeInfoRes, err error) {
	res = &GetResumeInfoRes{}
	data:=`{"age":"1-2年","areas_id":"鱼台城区","areas_pid":"鱼台县","collect":0,"date":24,"def_detail":"","drving":"大专","gender":"0","head":"https://mp.wanhedashuju.com/uploads/20220107/7c24a86003a6393360884ab6b4a8383b.png","id":15313,"is_closure":"0","is_def":"0","is_hide":"0","is_single":null,"member_id":15347,"name":"汤圆","salary":"面议","txt":"","type":"2","type_ids":["话务员","客户咨询"],"uid":null,"work_state":null}`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type MemberGetResumeTelReq struct {
	g.Meta `path:"zp_resume_v1/memberGetResumeTel" method:"POST" summary:""`
	ResumeId string `json:"resume_id" dc:"15347"`
	Any string `json:"any" dc:"zp_resume_v1/memberGetResumeTel"`
}
type MemberGetResumeTelRes struct {
Status	float64	`json:"status"`
Message	string	`json:"message"`
}

func (a *cZpResumeV1Controller) MemberGetResumeTelAction(ctx context.Context, req *MemberGetResumeTelReq) (res *MemberGetResumeTelRes, err error) {
	res = &MemberGetResumeTelRes{}
	data:=`{"message":"您还没有正在招聘的岗位，是否前往发布职位","status":0}`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}